package com.dxy.dxyadmin.VO;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * junfeng 2018/11/6  管理员DO
 */
@Data
public class AdminVO {

    private Integer id;
    @NotBlank(message = "name 不能为空")
    private String name;
    @NotBlank(message = "password 不能为空")
    @Size(max = 30,min = 6)
    private String password;


}
